import Main from '../views/Home/children/Main.vue'
import My from '../views/Home/children/My.vue'
import NewHouse from '../views/Home/children/NewHouse.vue'
import OldHouse from '../views/Home/children/OldHouse.vue'
import RentHouse from '../views/Home/children/RentHouse.vue'

const mainPage = [
    {
        path: '/main',
        component: Main,
        meta: {
            title: '首页',
            icon: "wap-home-o"
        }
    },
    {
        path: '/newHouse',
        component: NewHouse,
        meta: {
            title: '新房',
            icon: 'shop-collect-o'
        }
    },
    {
        path: '/oldHouse',
        component: OldHouse,
        meta: {
            title: '二手房',
            icon: 'home-o'
        }
    },
    {
        path: '/rentHouse',
        component: RentHouse,
        meta: {
            title: '租房',
            icon: 'shop-o'
        }
    },
    {
        path: '/my',
        component: My,
        meta: {
            title: '我的',
            icon: 'user-o'
        }
    }
]

export default mainPage
